﻿// Copyright (c) Vitaly Kamiansky. All rights reserved. 
// See License.txt in the project root.

using System;

namespace Property.Workers
{
    public partial class BackgroundWorkerPrototype<T> : IWorkerPrototype<T>
    {
        public IWorker<T> Create(Func<T> getValue)
        {
            return new WorkerInstance(getValue);
        }
    }
}
